realtek: pcs: rtl839x: refactor SerDes reset sequence
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 29 Dec 2025 10:29:57 +0000 (10:29 +0000)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 9 Jan 2026 12:32:52 +0000 (14:32 +0200)
commit7de5ba2e983f89b984e8bf8941e492d9b414039a
tree00c6b8e59e53a06760240eff49f40c4967b9f089
parent82d0ae3134112afb63384b5b74d1b3cf70ccdd75
realtek: pcs: rtl839x: refactor SerDes reset sequence

Refactor the previously added SerDes reset sequence. Use the SerDes
MDIO interface instead of plain writes into the switchcore's register
space. Moreover, simplify the sequence because the SDK version is
unnecessarily complex.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21360
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c